<nz-affix [nzOffsetTop]="60">
  <nz-breadcrumb>
    <nz-breadcrumb-item>文件上传</nz-breadcrumb-item>
    <nz-breadcrumb-item>分片上传</nz-breadcrumb-item>
  </nz-breadcrumb>
</nz-affix>
<div>
  <div class="upload">
    <h2>采集结果导入</h2>
    <div class="upload_content">
      <nz-upload nzType="drag" [(nzFileList)]="fileList" [nzBeforeUpload]="beforeUpload" [nzLimit]="1">
        <p class="ant-upload-drag-icon">
          <i nz-icon type="inbox"></i>
        </p>
        <p class="ant-upload-text">
          点击选择或者文件拖拽到这里上传，每次只能上传一个文件
        </p>
        <p class="ant-upload-hint">只支持拓展名：.csv</p>
      </nz-upload>
      <button nz-button [nzType]="'primary'" [nzLoading]="uploading" (click)="handleUpload()"
        [disabled]="fileList.length == 0" style="margin-top: 16px">
        {{ uploading ? '导入中' : '导入' }}
      </button>
    </div>
  </div>
  <div class="upload">
    <h3>导入须知：</h3>
    <p>
      1. 请上传符合格式的文件，文件大小不超过30MB，只支持CSV文件导入。<br />
      2. 不能多个用户同时上传采集结果。<br />
    </p>
  </div>
</div>
